import sun.misc.Contended;

@Contended // 配合启动参数 -XX:-RestrictContended
public class ValueContended {

//    @Contended("group1")
    protected volatile long value1 = 0L;

//    @Contended("group1")
    protected volatile long value2 = 0L;

//    @Contended("group1")
    protected volatile long value3 = 0L;

}
